d95ef9e0ed0ed06ea58db899de46df6fc20db326,forum/webapp/src/main/java/org/exoplatform/forum/webui/UITopicDetail.java,EditTopicActionListener,onEvent,#Event#UITopicDetail#String#,943
Before Change
topicForm.setTopicIds(topicDetail.categoryId, topicDetail.forumId, topicDetail.forum);
topicForm.setUpdateTopic(topicDetail.getTopic(), true);
topicForm.setMod(topicDetail.isMod);
topicForm.setSpaceGroupId(forumPortlet.getSpaceGroupId());
topicForm.setIsDetail(true);
topicDetail.isEditTopic = true;
} catch (Exception e) {
After Change
topicForm.setTopicIds(topicDetail.categoryId, topicDetail.forumId, topicDetail.forum);
topicForm.setUpdateTopic(topicDetail.getTopic(), true);
topicForm.setMod(topicDetail.isMod);
String spaceGroupId = forumPortlet.getSpaceGroupId();
if(Utils.CATEGORY_SPACE_ID_PREFIX.equals(topicDetail.categoryId) && CommonUtils.isEmpty(spaceGroupId)) {
spaceGroupId = SpaceUtils.SPACE_GROUP + "/" + topicDetail.forumId.replace(Utils.FORUM_SPACE_ID_PREFIX, "");
}
topicForm.setSpaceGroupId(spaceGroupId);
topicForm.setIsDetail(true);